package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 待办事项中间对象 related_todoevent
 * 
 * @author ruoyi
 * @date 2022-04-24
 */
public class RelatedTodoevent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 相关提醒项id */
    @Excel(name = "相关提醒项id")
    private Long relatedId;

    /** 要事提醒id */
    @Excel(name = "要事提醒id")
    private Long todoeventId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRelatedId(Long relatedId) 
    {
        this.relatedId = relatedId;
    }

    public Long getRelatedId() 
    {
        return relatedId;
    }
    public void setTodoeventId(Long todoeventId) 
    {
        this.todoeventId = todoeventId;
    }

    public Long getTodoeventId() 
    {
        return todoeventId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("relatedId", getRelatedId())
            .append("todoeventId", getTodoeventId())
            .toString();
    }
}
